package com.winkyle.woodenfish.entity;

import java.io.Serializable;

/**
 * @author winkyle
 * @date 2018/06/18
 * @description 数据返回格式实体类
 */

public class HttpResult<T> implements Serializable{
    /**
     * 返回信息码
     */
    private Integer code;
    /**
     * 返回信息
     */
    private String msg;
    /**
     * 返回数据
     */
    private T body;


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getBody() {
        return body;
    }

    public void setBody(T body) {
        this.body = body;
    }

}
